<template>
  <SmartDialog
    :isShow="isShow"
    @close="isShow = false"
  >
    <form @submit.prevent="handleSubmit" class="inner dialog-oper-row">
      <div class="dialog-header">
        <div class="auto-flex">创建任务</div>
        <div>
          <i class="glyphicon glyphicon-remove"></i>
        </div>
      </div>
      <div class="dialog-body space">
        <table class="table-form">
          <tbody>
            <tr>
              <td>用户名：</td>
              <td>
                <input required type="text" class="form-control" />
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <div class="dialog-footer">
        <button class="btn btn-success">确定</button>
      </div>
    </form>
  </SmartDialog>
</template>

<script>
export default {
  name: 'dialog-oper-row',
  data() {
    return {
      isShow: true
    }
  },
  computed: {},
  watch: {},
  methods: {
    async show(bindRow) {
      this.isShow = true
    }
  },
  mounted() {
    console.log('ddddddddd')
  }
}
</script>

<style lang="less" scoped>
.dialog-oper-row {}
</style>